﻿import mx.central.controls.MGridColumn;
intrinsic class mx.central.controls.MDataGrid extends MovieClip {
	function addColumn (gridColumn:MGridColumn):Void;
	function addColumnAt (index:Number, gridColumn:MGridColumn):Void;
	function addItem (item:Object):Void;
	function addItemAt (index:Number, item:Object):Void;
	function addItems (items:Object):Void;
	function addItemsAt (index:Number, items:Object):Void;
	function getAllItems (Void):Array;
	function getColumnAt (index:Number):MGridColumn;
	function getColumnCount (Void):Number;
	function getColumnIndex (name:String):Number;
	function getDisabledIndices (Void):Array;
	function getEditable (Void):Boolean;
	function getEnabled (Void):Boolean;
	function getIndexByKey (key:String, value:Object):Number;
	function getItemAt (index:Number):Object;
	function getItemByKey (key:String, value:Object):Object;
	function getItemsByKey (key:String, value:Object):Array;
	function getLength (Void):Number;
	function getOriginalCellData (Void):Object;
	function getRowCount (Void):Number;
	function getScrollPosition (Void):Number;
	function getSelectedCell (Void):Object;
	function getSelectedIndex (Void):Number;
	function getSelectedIndices (Void):Array;
	function getSelectedItem (Void):Object;
	function getSelectedItems (Void):Array;
	function isDisabled (index:Number):Boolean;
	function removeAllColumns (Void):Void;
	function removeAllItems (Void):Void;
	function removeColumnAt (index:Number):MGridColumn;
	function removeItemAt (index:Number):Object;
	function replaceAllItems (items:Array):Void;
	function replaceItemAt (index:Number, data:Object):Void;
	function setBaseColor (color:Number):Void;
	function setCellData (index:Number, colName:String, data:Object):Void;
	function setChangeHandler (functionName:String, location:Object):Void;
	function setColumns (col1:String):Void;
	function setDataProvider (dataProvider:Object):Void;
	function setEditable (editable:Boolean):Void;
	function setEditHandler (functionName:String, location:Object):Void;
	function setEnabled (enable:Boolean):Void;
	function setEnabledIndices (itemsArray:Array, state:Boolean):Void;
	function setItemByKey (key:String, item:Object):Number;
	function setResizableColumns (trueOrFalse:Boolean):Void;
	function setRowCount (rows:Number):Void;
	function setRowHeight (height:Number):Void;
	function setScrollPosition (index:Number):Void;
	function setSelectable (trueorFalse:Boolean):Void;
	function setSelectedCell (index:Number, colName:String):Void;
	function setSelectedIndex (index:Number):Void;
	function setSelectedIndices (indexArray:Number):Void;
	function setSelectMultiple (trueOrFalse:Boolean):Void;
	function setSize (width:Number, height:Number):Void;
	function setSortableColumns (trueOrfalse:Boolean):Void;
	function setVScroll (trueFalseOrAuto:Object):Void;
	function showColumnHeaders (trueOrfalse:Boolean):Void;
	function showGridLines (trueOrfalse:Boolean):Void;
	function sort (compareFunction:Function, col:String, dir:String):Void;
	function sortItemsBy (columnName:String, direction:String):Void;
	function spaceColumnsEqually (Void):Void;
	function updateItem (item:Object):Number;
}
